HighlightConfig

data class HighlightConfig(showInfo: Boolean?, showStyles: Boolean?, showRulers: Boolean?, showAccessibilityInfo: Boolean?, showExtensionLines: Boolean?, contentColor: RGBA?, paddingColor: RGBA?, borderColor: RGBA?, marginColor: RGBA?, eventTargetColor: RGBA?, shapeColor: RGBA?, shapeMarginColor: RGBA?, cssGridColor: RGBA?, colorFormat: ColorFormat?, gridHighlightConfig: GridHighlightConfig?, flexContainerHighlightConfig: FlexContainerHighlightConfig?, flexItemHighlightConfig: FlexItemHighlightConfig?, contrastAlgorithm: ContrastAlgorithm?)

Configuration data for the highlighting of page elements.

Constructors

HighlightConfig
Link copied to clipboard
fun HighlightConfig(showInfo: Boolean? = null, showStyles: Boolean? = null, showRulers: Boolean? = null, showAccessibilityInfo: Boolean? = null, showExtensionLines: Boolean? = null, contentColor: RGBA? = null, paddingColor: RGBA? = null, borderColor: RGBA? = null, marginColor: RGBA? = null, eventTargetColor: RGBA? = null, shapeColor: RGBA? = null, shapeMarginColor: RGBA? = null, cssGridColor: RGBA? = null, colorFormat: ColorFormat? = null, gridHighlightConfig: GridHighlightConfig? = null, flexContainerHighlightConfig: FlexContainerHighlightConfig? = null, flexItemHighlightConfig: FlexItemHighlightConfig? = null, contrastAlgorithm: ContrastAlgorithm? = null)

Properties

borderColor
Link copied to clipboard
val borderColor: RGBA? = null
The border highlight fill color (default: transparent).
colorFormat
Link copied to clipboard
val colorFormat: ColorFormat? = null
The color format used to format color styles (default: hex).
contentColor
Link copied to clipboard
val contentColor: RGBA? = null
The content box highlight fill color (default: transparent).
contrastAlgorithm
Link copied to clipboard
val contrastAlgorithm: ContrastAlgorithm? = null
The contrast algorithm to use for the contrast ratio (default: aa).
cssGridColor
Link copied to clipboard
val cssGridColor: RGBA? = null
The grid layout color (default: transparent).
eventTargetColor
Link copied to clipboard
val eventTargetColor: RGBA? = null
The event target element highlight fill color (default: transparent).
flexContainerHighlightConfig
Link copied to clipboard
val flexContainerHighlightConfig: FlexContainerHighlightConfig? = null
The flex container highlight configuration (default: all transparent).
flexItemHighlightConfig
Link copied to clipboard
val flexItemHighlightConfig: FlexItemHighlightConfig? = null
The flex item highlight configuration (default: all transparent).
gridHighlightConfig
Link copied to clipboard
val gridHighlightConfig: GridHighlightConfig? = null
The grid layout highlight configuration (default: all transparent).
marginColor
Link copied to clipboard
val marginColor: RGBA? = null
The margin highlight fill color (default: transparent).
paddingColor
Link copied to clipboard
val paddingColor: RGBA? = null
The padding highlight fill color (default: transparent).
shapeColor
Link copied to clipboard
val shapeColor: RGBA? = null
The shape outside fill color (default: transparent).
shapeMarginColor
Link copied to clipboard
val shapeMarginColor: RGBA? = null
The shape margin fill color (default: transparent).
showAccessibilityInfo
Link copied to clipboard
val showAccessibilityInfo: Boolean? = null
Whether the a11y info should be shown (default: true).
showExtensionLines
Link copied to clipboard
val showExtensionLines: Boolean? = null
Whether the extension lines from node to the rulers should be shown (default: false).
showInfo
Link copied to clipboard
val showInfo: Boolean? = null
Whether the node info tooltip should be shown (default: false).
showRulers
Link copied to clipboard
val showRulers: Boolean? = null
Whether the rulers should be shown (default: false).
showStyles
Link copied to clipboard
val showStyles: Boolean? = null
Whether the node styles in the tooltip (default: false).

Sources

jvm source
Link copied to clipboard